Module for creating a meshgrid from two vectors
This module provides a subroutine to create a meshgrid.
Make N-dimensional meshgrid from two vectors x_vector and y_vector
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in), | DIMENSION(:) | :: | x_vector | ||
real(kind=dp), | intent(in), | DIMENSION(:) | :: | y_vector | ||
real(kind=dp), | intent(out), | DIMENSION(SIZE(y_vector), SIZE(x_vector)) | :: | X | ||
real(kind=dp), | intent(out), | DIMENSION(SIZE(y_vector), SIZE(x_vector)) | :: | Y |